
#include <stdio.h>
#include <windows.h>

#include "hook.h"

int main(int argc, char *argv[])
{
	HMODULE dll = GetModuleHandle("hook.dll");
	HHOOK r = SetWindowsHookEx(WH_MOUSE,(long (__stdcall *)(int,unsigned int,long))MouseProc,dll,0);
	getchar();
	printf("%d", get());
	BOOL b = UnhookWindowsHookEx(r);
	getchar();
	return 0;
}
